<%@ Page Language="C#" ValidateRequest="false" AutoEventWireup="true" CodeBehind="ShowJavaScript.aspx.cs" Inherits="ScottCateAjax2008.Utilities.ShowJavaScript" Title="Show Javascript Code" %>
<html xmlns="http://www.w3.org/1999/xhtml" >
<head id="Head1" runat="server">
    <title>javaScript Code Viewer</title>
   	<link id="Link1" href="/Common/CodeHighliter/SyntaxHighlighter.css" type="text/css" runat="server" rel="stylesheet" />
   	<link id="Link2" href="/Common/Styles/Web.css" type="text/css" runat="server" rel="stylesheet" />
</head>
<body>
    <form id="form1" runat="server">

    <div class="TitleContainer">
        <div id="CodeFileLinks">
            <asp:HyperLink NavigateUrl="~/navigation.aspx" Target="_search" id="NavigationHyperlink" runat="server">Menu</asp:HyperLink>
            <br />
            <asp:HyperLink ID="AspxFileLink" runat="server" />
        </div>
        <div class="Title">JavaScript Code Viewer
            <h3>Show JavaScript of Page</h3>
        </div>
    </div>
    
    <div class="Container">
        <div class="Content">
            <div id="Div1">
                <asp:TextBox ID="TextBox1" Text="http://localhost:2008/Lesson01/E_EclosurePrototype.aspx.js" runat="server" Width="545px"></asp:TextBox>
                <br />
                <asp:Button ID="Button1" runat="server" Text="Get JS" OnClick="Button1_Click" /><br />
                <hr />
                <asp:PlaceHolder ID="SourceCodePlaceHolder" runat="server" />
            </div>
        </div>
    </div>
    </form>

    <script type="text/javascript" src="/Common/CodeHighliter/shCore.js"></script>
    <script type="text/javascript" src="/Common/CodeHighliter/shBrushCSharp.js"></script>
    <script type="text/javascript" src="/Common/CodeHighliter/shBrushXml.js"></script>
    <script type="text/javascript" src="/Common/CodeHighliter/shBrushJScript.js"></script>
    <script type="text/javascript">
        dp.SyntaxHighlighter.HighlightAll('code');
    </script>
</body>
</html>









